production.
=== Configuration changes in 1.23 ===
+* $wgDebugLogGroups values may be set to an associative array with a
+ 'destination' key specifying the log destination. The array may also contain
+ a 'sample' key with a positive integer value N indicating that the log group
+ should be sampled by dispatching one in every N messages on average. The
+ sampling is random.
=== New features in 1.23 ===
* ResourceLoader can utilize the Web Storage API to cache modules client-side.
* in production.
*
* Log destinations may be string values specifying a filename or URI, or they
- * may be filename or an associative array mapping 'target' to the desired
+ * may be filename or an associative array mapping 'destination' to the desired
* filename. The associative array may also contain a 'sample' key with an
* integer value, specifying a sampling factor.
*
* @par Advanced example:
* @code
* $wgDebugLogGroups['memcached'] = (
- * 'target' => '/var/log/mediawiki/memcached.log',
+ * 'destination' => '/var/log/mediawiki/memcached.log',
* 'sample' => 1000, // log 1 message out of every 1,000.
* );
* @endcode
/**
* Send a line to a supplementary debug log file, if configured, or main debug log if not.
* To configure a supplementary log file, set $wgDebugLogGroups[$logGroup] to a string
- * filename or an associative array mapping 'target' to the desired filename. The
+ * filename or an associative array mapping 'destination' to the desired filename. The
* associative array may also contain a 'sample' key with an integer value, specifying
* a sampling factor.
*